﻿@model IEnumerable<MvcMusicStore.Song>
<div id="homeshow" style="float:left">
    <h3 >
        <em>New Song</em>
    </h3>
    <ul id="album-list" >
        @foreach (var song in Model)
        {
            <li>
                <a href="@Url.Action("Details", "Store", new { id = song.Album.id })">
                    <img alt="@song.Album.titleAlbum" src="@song.Album.coverAlbum" />
                </a>
                <a href="@Url.Action("Song", "Store", new { id = song.id })">
                    <p>@song.titleSong</p>
                </a>
                <a href="@Url.Action("Details", "Store", new { id = song.Album.id })">
                    <span>  
                        <em>Album:</em> @song.Album.titleAlbum
                    </span> 
                    <span>
                    <em>Artist:</em> @song.Author.nameAuthor
                    </span>
                    <span>
                    <em>Price:</em>@String.Format("{0:F}", song.costSong)
                    </span> 
                 </a>
             </li>
        }
    </ul>
</div>
